package d7_extands;

public class Test {
    public static void main(String[] args) {
        B b = new B();//有A类和B类共同完成
        System.out.println(b.i);
//        System.out.println(b.k);
//        System.out.println(b.j);
    }
}
